<?php


namespace app\voip\model;


use think\Model;

class ECallTask extends Model
{
    public function getTypeAttr($value)
    {

        $type= [0=>'未知',1=>'正在执行',2=>'任务结束'];
        return $type[$value];
    }
    public function getIsCloseAttr($value)
    {

        $type= [0=>'未知',1=>'正常显示',2=>'显示关闭'];
        return $type[$value];
    }
}